Behaviors Overview
IO River provides you the ability to customize the behavior of your traffic. You can define multiple behaviors in your IO River service. When you first create a service, it automatically gets a default behavior. The default behavior is applied on the entire traffic of the service, and can be customized. On top of the default behavior, more behaviors can be added. Behaviors are applied on a portion of the service traffic which is identified by a path pattern. Behaviors can have multiple actions to apply on the portion of the traffic. You can review here the available types of actions.
What is a Behavior?
A Behavior in IO River is defined by:
- A condition - path pattern which identifies the portion of the traffic the behavior applies to, for example
/api/*
. - A list of actions which will be applied to requests matching the condition.
Prerequisites
Before adding a Behavior to your service, you need to have the following:
- IO River Service - You can follow these steps to create a service.